package mju.cxf.dto;

/**
 * <p>
 * 商品规格表
 * </p>
 *
 * @author 郑献
 * @since 2024-10-08
 */

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.List;

@ApiModel(description = "商品规格数据传输对象")
@Data
public class ProductSpecificationsDTO {

    @ApiModelProperty(value = "商品规格编号")
    private Integer id;

    @ApiModelProperty(value = "商品id")
    private Integer productId;

    @ApiModelProperty(value = "商品编号")
    private BigInteger itemId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "规格图片")
    private List<String> imageUrls;



    @ApiModelProperty(value = "规格名称")
    private String name;

    @ApiModelProperty(value = "商品价格")
    private Double price;

    @ApiModelProperty(value = "商品原价")
    private double originalPrice;

    @ApiModelProperty(value = "状态")
    private Integer state;


    @ApiModelProperty(value = "说明")
    private String illustrate;

    @ApiModelProperty(value = "出售数量")
    private Integer soldNumber;

    @ApiModelProperty(value = "点击数量")
    private Integer clicks;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人ID")
    private Integer createUser;

    @ApiModelProperty(value = "创建人名称")
    @TableField("create_user_name")
    private String createUserName;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "修改人ID")
    private Integer updateUser;

    @ApiModelProperty(value = "修改人名称")
    @TableField("update_user_name")
    private String updateUserName;
}
